package com.example.spring_config.mapper;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;


@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("xs_tab_user")
public class User {

    @TableId
    private String id;
    private String username;
    private String password;
    private String gender;
    private String phone;
    @TableField(exist = false)
    private String roleStr;
}
